package com.gary.security.model;

import java.io.Serializable;

import java.util.HashSet;
import java.util.Set;

import com.gary.core.model.BaseModel;


/**
 * acl object identity.
 *
 *
 */
public class AclObjectIdentityInfo extends BaseModel implements Serializable {
    /** * serial. */
    static final long serialVersionUID = 0L;

    /** * object id identity. */
    private Long objectIdIdentity;

    /** * entries inheriting. */
    private Integer entriesInheriting;

    /** * object id class. */
    private AclClassInfo objectIdClass;

    /** * parent object. */
    private AclObjectIdentityInfo parentObject;

    /** * owner sid. */
    private AclSidInfo ownerSid;

    /** * children. */
    private Set<AclObjectIdentityInfo> children = new HashSet<AclObjectIdentityInfo>(0);

    /** * entries. */
    private Set<AclEntryInfo> entries = new HashSet<AclEntryInfo>(0);

    /** * @return object id identity. */
    public Long getObjectIdIdentity() {
        return objectIdIdentity;
    }

    /** * @param objectIdIdentity Long. */
    public void setObjectIdIdentity(Long objectIdIdentity) {
        this.objectIdIdentity = objectIdIdentity;
    }

    /** * @return entries inheriting. */
    public Integer getEntriesInheriting() {
        return entriesInheriting;
    }

    /** * @param entriesInheriting Integer. */
    public void setEntriesInheriting(Integer entriesInheriting) {
        this.entriesInheriting = entriesInheriting;
    }

    /** * @return acl class. */
    public AclClassInfo getObjectIdClass() {
        return objectIdClass;
    }

    /** * @param objectIdClass AclClass. */
    public void setObjectIdClass(AclClassInfo objectIdClass) {
        this.objectIdClass = objectIdClass;
    }

    /** * @return acl object identity. */
    public AclObjectIdentityInfo getParentObject() {
        return parentObject;
    }

    /** * @param parentObject AclobjectIdentity. */
    public void setParentObject(AclObjectIdentityInfo parentObject) {
        this.parentObject = parentObject;
    }

    /** * @return owner sid. */
    public AclSidInfo getOwnerSid() {
        return ownerSid;
    }

    /** * @param ownerSid AclSid. */
    public void setOwnerSid(AclSidInfo ownerSid) {
        this.ownerSid = ownerSid;
    }

    /** * @return children. */
    public Set<AclObjectIdentityInfo> getChildren() {
        return children;
    }

    /** * @param children Set. */
    public void setChildren(Set<AclObjectIdentityInfo> children) {
        this.children = children;
    }

    /** * @return entries. */
    public Set<AclEntryInfo> getEntries() {
        return entries;
    }

    /** * @param entries Set. */
    public void setEntries(Set<AclEntryInfo> entries) {
        this.entries = entries;
    }
}
